

import { createRouter, createWebHashHistory } from 'vue-router';

const routes = [
    {
        path: '/',
        component: () => import('@/views/a')
    },
    {
        path: '/b',
        component: () => import('@/views/b')
    }
];

export default createRouter({
    history: createWebHashHistory(),
    routes
});